package org.esprit.ocm.client.model.ec2;

import com.smartgwt.client.widgets.grid.ListGridRecord;

public class InstanceRecord extends ListGridRecord {

	public InstanceRecord() { 
	}

	public String getImageId() {
		return getAttributeAsString("imageId");
	}

	public void setImageId(String imageId) {
		setAttribute("imageId", imageId);
	}

	public String getInstanceId() {
		return getAttributeAsString("instanceId");
	}

	public void setInstanceId(String instanceId) {
		setAttribute("instanceId", instanceId);
	}

	public String getPrivateDnsName() {
		return getAttributeAsString("privateDnsName");
	}

	public void setPrivateDnsName(String privateDnsName) {
		setAttribute("privateDnsName", privateDnsName);
	}

	public String getDnsName() {
		return getAttributeAsString("dnsName");
	}

	public void setDnsName(String dnsName) {
		setAttribute("dnsName", dnsName);
	}

	public String getReason() {
		return getAttributeAsString("reason");
	}

	public void setReason(String reason) {
		setAttribute("reason", reason);
	}

	public String getKeyName() {
		return getAttributeAsString("keyName");
	}

	public void setKeyName(String keyName) {
		setAttribute("keyName", keyName);
	}

	public String getLaunchIndex() {
		return getAttributeAsString("launchIndex");
	}

	public void setLaunchIndex(String launchIndex) {
		setAttribute("launchIndex", launchIndex);
	}

	public String getAvailabilityZone() {
		return getAttributeAsString("availabilityZone");
	}

	public void setAvailabilityZone(String availabilityZone) {
		setAttribute("availabilityZone", availabilityZone);
	}

	public String getKernelId() {
		return getAttributeAsString("kernelId");
	}

	public void setKernelId(String kernelId) {
		setAttribute("kernelId", kernelId);
	}

	public String getRamdiskId() {
		return getAttributeAsString("ramdiskId");
	}

	public void setRamdiskId(String ramdiskId) {
		setAttribute("ramdiskId", ramdiskId);
	}

	public String getPlatform() {
		return getAttributeAsString("platform");
	}

	public void setPlatform(String platform) {
		setAttribute("platform", platform);
	}

	public String getState() {
		return getAttributeAsString("state");
	}

	public void setState(String state) {
		setAttribute("state", state);
	}

	public String getMonitoring() {
		return getAttributeAsString("monitoring");
	}

	public void setMonitoring(boolean monitoring) {
		setAttribute("monitoring", monitoring);
	}
	
	public String getOwner() {
		return getAttributeAsString("owner");
	}

	public void setOwner(String owner) {
		setAttribute("owner", owner);
	}

	public String getResId() {
		return getAttributeAsString("resId");
	}

	public void setResId(String resId) {
		setAttribute("resId", resId);
	}
	
	public void setGroups(String groups) {
		setAttribute("groups", groups);
	}

	public String getGroups() {
		return getAttributeAsString("groups");
	}

	public void setLaunchTime(String launchTime) {
		setAttribute("launchTime", launchTime);
	}

	public String getLaunchTime() {
		return getAttributeAsString("launchTime");
	}

	public void setInstanceType(String instanceType) {
		setAttribute("instanceType", instanceType);
	}

	public String getInstanceType() {
		return getAttributeAsString("instanceType");
	}
}